.Net Framework > v2.0.50727 > System > Text > Encoder > GetBytes GetBytes(Char*,Int32,Byte*,Int32,Boolean)
GetBytes(Char[],Int32,Int32,Byte[],Int32,Boolean)


GetBytes(Char*,Int32,Byte*,Int32,Boolean)

Category
Method
Description
When overridden in a derived class, encodes a set of characters starting at the specified character pointer and any characters in the internal buffer into a sequence of bytes that are stored starting at the specified byte pointer. A parameter indicates whether to clear the internal state of the encoder after the conversion.
Type
Int32
Character
public
Parameters
NameTypeDescription
charsChar
charCountInt32
bytesByte
byteCountInt32
flushBoolean
Attributes
NameValue/Assignment
CLSCompliantAttributeFalse
ComVisibleAttributeFalse
Tags
01892ABD01, 02E3ABA98D, 0376596F91

GetBytes(Char[],Int32,Int32,Byte[],Int32,Boolean)

Category
Method
Description
When overridden in a derived class, encodes a set of characters from the specified character array and any characters in the internal buffer into the specified byte array. A parameter indicates whether to clear the internal state of the encoder after the conversion.
Type
Int32
Character
public, Abstract
Parameters
NameTypeDescription
charsChar[]
charIndexInt32
charCountInt32
bytesByte[]
byteIndexInt32
flushBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database